import React from 'react'
import NavLayout from '../_Layout/NavLayout'
import UserBanner from '../../widgets/Banner/UserBanner'
import UserTabs from '../../widgets/NavBar/UserTabs'
import RouterView from '../../widgets/RouterView'

export default function User(props: any) {
    return (
        <NavLayout>
            <UserBanner userId={props.params.userId} />
            <UserTabs userId={props.params.userId} />
            <RouterView path={'/user'} />
        </NavLayout>
    )
}
